<include file="./Application/Admin/View/index/nav.html" />
<script type="text/javascript">
	function chk() {
		var username = document.getElementById('username');
		var password = document.getElementById('password');
		if (username.value == '') {
			alert('用户名不能为空！');
			return false;
		}
		if (password.value == '') {
			alert('密码不能为空');
			return false;
		}
	}
</script>
        <div id="page-wrapper">
        <div class="graphs">
	     <div class="xs" style="min-height: 440px;">
  	       <h3>用户登记</h3>
  	         <div class="tab-content">
						<div class="tab-pane active" id="horizontal-form">
							<form class="form-horizontal" action="{:U('admin/user/adduser')}" method="post" onsubmit="return chk();">
								<div class="form-group">
									<label for="focusedinput" class="col-sm-2 control-label">用户名</label>
									<div class="col-sm-8">
										<input type="text" name="username" class="form-control1" id="username" placeholder="用户名">
									</div>
								</div>
								<div class="form-group">
									<label for="focusedinput" class="col-sm-2 control-label">密码</label>
									<div class="col-sm-8">
										<input type="password" name="password" class="form-control1" id="password" placeholder="密码">
									</div>
								</div>
								<div class="form-group">
									<div class="col-sm-8 col-sm-offset-2">
										<input type="submit" value="登记" class="btn-success btn">
										<input type="reset" value="重置" class="btn-inverse btn">
									</div>
								</div>
							</form>
						</div>
					</div>
  </div>

<include file="./Application/Admin/View/index/footer.html" />